<extend name="Base/common"/>

<block name="head"></block>

<block name="body">
    <script type="text/javascript">
        var iurl = "{:U('Home/List/detaillist','','')}";
    </script>
    <div class="top" id="home">
        <div class='sit-header '>
            <div class="container">
                <div class="logo"><a href="{:U('Home/Index/index','','')}"><img src="__ROOT__{:get_cover($logo['image'],$field = path)}" /></a></div>
                <!--- start-nav---->
                <div class="nav_ba visible-lg visible-md" id="menu-wrapper">
                    <ul class="nav_li nav">
                        <li  <php> echo $cate=='85'?"class='active'":""</php>><a href="{:U('Home/List/list2',array('cate'=>85),'')}">{$menu[1]['title']}</a></li>
                        <li ><a href="{:U('Home/List/index',array('cate'=>66),'')}">{$menu[2]['title']}</a></li>
                        <li><a href="{:U('Home/List/list_activity',array('cate'=>68),'')}">{$menu[3]['title']}</a></li>
                        <li  <php> echo $cate=='70'?"class='active'":""</php>><a href="{:U('Home/List/list2',array('cate'=>70),'')}">{$menu[4]['title']}</a></li>
                        <li  <php> echo $cate=='83'?"class='active'":""</php>><a href="{:U('Home/List/list2',array('cate'=>83),'')}">{$menu[5]['title']}</a></li>
                        <li <php>echo $cates=='84'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>84),'')}#about">{$menu[6]['title']}</a></li>
                    <li <php>echo $cates=='40'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>40),'')}#customer">{$menu[7]['title']}</a></li>
                    </ul>
                </div>
                <button class="toggle-menu visible-sm visible-xs"><i class="fa fa-bars"></i></button>
                <!--- //end-nav-->
            </div>
        </div>
    </div>

    <nav class="sMenu" >
        <h3><i class="fa fa-angle-left"></i> 菜單</h3>
        <ul>
            <li <php> echo $cate=='85'?"class='active'":""</php>><a href="{:U('Home/List/list2',array('cate'=>85),'')}">{$menu[1]['title']}</a></li>
            <li><a href="{:U('Home/List/index',array('cate'=>66),'')}">{$menu[2]['title']}</a></li>
            <li><a href="{:U('Home/List/list_activity',array('cate'=>68),'')}" >{$menu[3]['title']}</a></li>
            <li <php> echo $cate=='70'?"class='active'":""</php>><a href="{:U('Home/List/list2',array('cate'=>70),'')}">{$menu[4]['title']}</a></li>
            <li <php> echo $cate=='83'?"class='active'":""</php>><a href="{:U('Home/List/list2',array('cate'=>83),'')}">{$menu[5]['title']}</a></li>
            <li <php>echo $cates=='84'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>84),'')}#about">{$menu[6]['title']}</a></li>
            <li <php>echo $cates=='40'?"class='active'":""</php>><a href="{:U('Home/Index/index',array('cate'=>40),'')}#customer">{$menu[7]['title']}</a></li>
        </ul>
    </nav>
    <div class="container list2">
        <div class="row">
            <volist name="lists" id="list">
                <div class="col-md-4 col-xs-6"> 
                    <a href="{:U('Home/List/page_info',array('id'=>$list['id']),'')}" >
                        <div class="list_img div_con">
                            <if condition="$list['model_id']==6">
                                <img src="__ROOT__{:get_cover($list['cover_id'],$field = path)}" class="blur">
                                <else/>
                            <img src="__ROOT__{:get_cover($list['photo'],$field = path)}" class="blur">
                            </if>
                            
                        </div>
                        
                    </a>
                    <h3>{$list['title']}</h3>
                </div>
            </volist>
        </div>
       
    </div>


    <!-- Messge -->       
    <block name='footer'></block>
</block>


